<#macro nav_bar page_title site_logo='/static/img/img_site_logo2.png' site_home='/user'>
<nav class="navbar navbar-expand fixed-top be-top-header">
            <div class="container-fluid">
                <div class="be-navbar-header">
                    <a style="background-image: url('${site_logo}')!important;" href="${site_home}" class="navbar-brand"></a>
                </div>
                <div class="be-right-navbar">
                    <ul class="nav navbar-nav float-right be-user-nav">
                        <li class="nav-item dropdown">
                            <a href="#"
                               data-toggle="dropdown"
                               role="button" aria-expanded="false"
                               class="nav-link dropdown-toggle">
                                <img src="/static/img/avatar.png" alt="Avatar">
                                <span class="user-name">Túpac Amaru</span>
                            </a>
                            <div role="menu" class="dropdown-menu">
                                <div class="user-info">
                                    <div class="user-name">超级管理员</div>
                                </div>
                                <a href="pages-profile.html"
                                   class="dropdown-item">
                                    <span class="icon mdi mdi-face"></span>
                                    个人资料
                                </a>
                                <a href="/admin/logout" class="dropdown-item">
                                    <span class="icon mdi mdi-power"></span>
                                    退出登录
                                </a>
                            </div>
                        </li>
                    </ul>
                    <div class="page-title">
                        <span>${page_title}</span>
                    </div>
                </div>
            </div>
        </nav>
</#macro>